﻿using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries;

public interface IWarehouseQueries
{
    Task<PaginatedResult<WarehouseInfoResponseDto>> QueryWarehousesByPage(WarehouseSearchRequestDto model);

    Task<Result<IList<WarehouseInfoResponseDto>>?> QueryWarehouses(WarehouseSearchRequestDto model);
        
    Task<Result<WarehouseInfoResponseDto>?> GetWarehouse(int id);
}